package com.yuhang.mapper;

import com.yuhang.entity.HyUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yuhang.entity.StateMonth;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yuhang
 * @since 2021-04-05
 */

public interface HyUserMapper extends BaseMapper<HyUser> {

    List<HyUser> selectPage( @Param("pageNum") Integer pageNum,
                             @Param("pageSize") Integer pageSize,
                             @Param("name") String name,
                             @Param("telephone") String telephone,
                             @Param("buildId") Integer buildId);
    List<StateMonth> selectOrderByBuild();
}
